package com.cloud.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
/**
 * 设置为eureka注册服务，负责将这个服务的信息注册到 Eureka Server 中
 */
@EnableEurekaClient
/**
 * 开启feign声明式rest调用接口
 *
 * @author Steven
 */
@EnableFeignClients
public class UserApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, args);
	}
}
